/**
 * 
 */
package models;

import java.io.Serializable;
import java.util.Date;

/**
 * @author LAP
 *
 */
public class EventData implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3751974432934253899L;
	
	private String name;
	private String description;
	private Date fullEndDate;
	
	public EventData() {
		name = "noname";
		description = "nodesc";
		fullEndDate = new Date();
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @param fullEndDate the fullEndDate to set
	 */
	public void setFullEndDate(Date fullEndDate) {
		if (fullEndDate == null) throw new NullPointerException("Date must be not null");
		this.fullEndDate = fullEndDate;
	}

	/**
	 * @return the fullEndDate
	 */
	public Date getFullEndDate() {
		return fullEndDate;
	}
	
	
}
